Electronic mail program

ABSTRACT

An E-mail program according to the present invention can protect an existing file from the infection by computer virus, when a user receives an attached file sent from a transmitter through a communication network. In the present invention, an execution power for accessing another file of the attached file is set to a particular level. The E-mail program always checks the reference/overwrite to another file in which the attached file of the received mail intends to execute. When not-permitted process occurs in the attached file as a result of checking, the E-mail program informs it to a user. Further, the attached file, in which not-permitted process is found, is cancelled so that it is possible to avoid an accidental mistake, i.e., “accidental opening of the attached file without checking the infection of the computer virus”, on the user side.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention relates to an improved electronic mail (E-mail) program which can protect an existing file filed within a terminal equipment (e.g., a personal computer) or a computer system, from infection by a computer virus, when a user receives an attached file sent from a transmitter through a communication network.

[0003] 2. Description of the Related Art

[0004] In general, there are two representative methods for protecting an existing file of the user from infection by a computer virus.

[0005] In a first method, the user confirms whether the received file is infected with a computer virus, using a predetermined virus-checking program which is provided separately from an E-mail program, before a user opens the received file.

[0006] In a second method, the E-mail program itself has a function for protecting the received file from the infection by the computer virus. For example, in a certain E-mail program, when a macro process is needed to execute the attached file, the macro process is invalided in accordance with a predetermined security level which is previously set by the user, or an alarm is displayed on a screen. In this case, the security level is defined by three levels, i.e., “high”, “medium” and “low”.

[0007] When the security level is “high”, all macros, in which a digital signature by an original designer is not provided, are invalided. When the security level is “medium”, an alarm message is displayed when the macro process is required by the attached file transmitted from a transmitter which has not registered in a list of transmitters. In this case, the transmitters are listed as the transmitters in which the macro process should be permitted. When the security level is “low”, the macro process is always valid. As is obvious from the above, the feature of the second method lies in that an identity of a transmitter is considered and confirmed as a criterion of the above security level.

[0008] There is, however, a problem in each of the first and second methods, as explained below.

[0009] In the first method, i.e., use of the computer virus check program, a user may accidentally open the attached file without checking of the infection of the computer virus. In general, it is impossible to completely avoid this accidental mistake, i.e., “accidental opening of the attached file without checking the infection of the computer virus”, in a user side.

[0010] In the second method, i.e., confirmation of the identity of the transmitter, much handling time is required for utilizing the digital signature. Further, it is very difficult to determine whether the user trusts the transmitter (i.e., whether such transmitter should be registered in the list of transmitter) in a network society, because almost all transmitters utilize anonymity when communicating with one another on the network.

[0011] Further, due to the contents of the macro process (for example, whether a file referred to, whether a file is overwritten, and the like), or in the case that the user wishes to determine go/no of execution of the macro process in accordance with a file to be objected by the macro process, it is impossible to avoid the infection by the computer virus even if the second method is used.

SUMMARY OF THE INVENTION

[0012] The object of the present invention is to provide an improved E-mail program which can protect an existing file from the infection by computer virus, when a user receives an attached file sent from a transmitter through a communication network.

[0013] That is, in the present invention, the E-mail program always checks the reference/overwrite to another file, in which the attached file of the received mail intends to execute. In this case, when the not-permitted process occurs in the attached file as a result of checking, the E-mail program informs it to the user.

[0014] Further, in the present invention, the attached file, in which a not-permitted process is found, is cancelled. As a result, it is possible to avoid an accidental mistake, i.e., “an accidental opening of the attached file without checking the infection of the computer virus”, on the user side.

[0015] As explained in detail below, in the present invention, the E-mail program sets an access power information, which is positive and included in the received attached file in order to read from or write to another file, to a particular level regardless original level of the access power. Further, the E-mail program checks an error of an execution program which occurs, when the access power information of the received file is set to a level lower than that of a passive access power information which is attached to another file in order to permit read from or write thereto. As a result of checking, when the E-mail program detects an error of the execution program, the E-mail program cancels the received attached file.

[0016] Further, in the present invention, not only the E-mail program cancels the attached file, but also the E-mail program can change a level of the access power of the attached file or can move the attached file to another different directory which is not used in a normal operation without cancellation of the attached file.

BRIEF DESCRIPTION OF THE DRAWINGS

[0017]FIGS. 1A and 1B are structural views of an E-mail program according to an embodiment of the present invention;

[0018]FIG. 2 is a structural view of an access power information attached to a file;

[0019]FIGS. 3A and 3B are process flowcharts of the Email program according to the embodiment of the present invention;

[0020]FIG. 4 is a view for explaining change of the access power information of the file;

[0021]FIG. 5 is a view of a log file;

[0022]FIG. 6 is a view of a file explaining a cancel list;

[0023]FIG. 7 is a view of a file explaining a relationship between an expanding identifier and an execution program;

[0024]FIG. 8 is a view for explaining a selection display at abnormal finish of the execution program;

[0025]FIG. 9 is a view for explaining the selection display to select either cancel or pending of the attached file;

[0026]FIG. 10 is a view for explaining a display indicating a result of an automatic cancellation;

[0027]FIG. 11 is a view for explaining a display indicating a result of a normal process;

[0028]FIG. 12 is a view for explaining a display indicating a result of a pending process; and

[0029]FIG. 13 is a view for explaining a display indicating a result of a cancel process.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0030] A preferred embodiment of the present invention will be explained in detail with reference to the drawings below.

[0031]FIGS. 1A and 1B are structural views of an E-mail program according to an embodiment of the present invention. In FIGS. 1A and 1B, a sending side terminal 100 includes a sending mail program 110 for preparing an E-mail and sending it. An attached file 120 is an existing file simultaneously sent with the E-mail. The attached file 120 includes data 122 as a body and an access power storing unit 121 for storing levels of positive access power and passive access power.

[0032] A sending server 200, a network 300, and a receiving server 400 are network systems for sending the E-mail and the attached file 120, these being prepared in the sending side terminal 100, to a receiving side terminal 500.

[0033] In the reception side terminal 500, a reception mail program 510 includes a reception storing means 511 for receiving and storing the E-mail and the attached file 120; a power changing means 512 for changing access power levels set in the power storing means 121 of the attached file 120 to particular values; an execution supervising means 513 requesting execution of the attached file to a program starting means 521 of an OS 520, and receiving a process ID of the execution process of the program and a result of process of the execution program from the program starting means 521, and informing them to a user; and a file correcting means 514 for moving the attached file to each holder of cancel/change of power/pending in accordance with process error detected by the execution supervising means 513.

[0034] The operating system (OS) 520 includes a power determining means 522 and the program starting means 521. The program starting means 521 prepares a new process in accordance with a request from the execution means supervising means 513 of the reception mail program, starts the execution program 530 related to the expanding identifier of the attached file 120 in accordance with a file related to the expanding identifier in FIG. 7, and stores access power levels stored in the power storing unit 121 of the attached file 120 to the power storing unit 531 of the execution program 530. The program starting means 521 delivers the process ID of the program for the execution supervising means 513 of the reception mail program 510, receives a result of process tried from the execution program 530 to the existing file 540, from a result informing means 533, and passes its information to the execution supervising means 513. The power determining means 522 compares power levels stored in the power storing unit 531 with power levels stored in the power storing unit 541, and informs the result to the execution means 532, when the execution program 530 tries various processes to data 542 of the existing file 540.

[0035] The execution program 530 includes the power storing unit 531 for storing power levels informed by the program starting means 521 at the starting time, the execution means 532 for executing various processes, and the result informing means 533 for informing the result of process in the execution means 532 to the program starting means 521. The execution means determines whether the processes are actually executed based on the result of process informed by the power determining means 522 of the OS 520, when the execution means 532 executes various processes to the existing file 540.

[0036] The existing file 540 includes the data 542 and the power storing unit 541 in which the levels of positive and passive access power information.

[0037]FIG. 2 is a structural view of an access power information attached to a file. As shown in FIG. 2, the access power information is attached to all files. The power information is set by the program upon preparing the file, and is determined in each process item, i.e., execution information/reference information/update information.

[0038] The execution information includes an positive access power information, and represents the execution power level of this file for another file. The reference information is a passive power information and represents minimum execution power level of another file which can refer to this file. The update information is the passive power information and represents minimum execution power level of another file which can update (overwrite) this file. The grade of the power level of each information of execution/reference/update is defined by numerical values from 1 to 3 (high, medium, low) as shown in the drawing.

[0039] For example, when this file refers to another file, the power determining means 522 of the OS 520 compares the execution power level (actually, the execution power level stored in the power storing unit 531 of the execution program handed over from the execution power level of this file) with the power level of the reference information of another file. As a result of comparison, when the execution power level of this file is equal to or higher than the power level of the reference information of another file, this file can refer to another file. On the contrary, when the execution power level of this file is equal to or lower than the power level of the reference information of another file, this file cannot refer to another file, and the execution program 530 abnormally completes at that time.

[0040]FIGS. 3A and 3B are process flowcharts of the E-mail program according to the embodiment of the present invention. These flowcharts represent processes from reception of a new E-mail and an attached file 120 until the final process of the attached file 120 executed in these steps when the reception mail program 510 has been already started.

[0041] The E-mail and attached file 120 sent from the sending side terminal 100 are received by the reception storing means 511 of the reception mail program 510 and are stored therein (S100). At that time, the reception mail program 510 determines whether the E-mail address of the sending side is described or not in a cancel list (a list for indicating mail addresses which should be canceled) (S101). The cancel list registers the sending side mail address, in which the reception mail program 510 has previously canceled the file. As shown in FIG. 6, the date of registration, the mail address of the sending side, and times of cancellation at the present time are described in this list.

[0042] Further, when the present sending mail address exists in this cancel list, the reception mail and the attached file are cancelled (S102). When canceling, times of cancellation of the sending side in the cancel list is counted-up, and the cancellation is automatically recorded in a log file and displayed as shown in FIG. 10.

[0043] When the sending side mail address does not exist in the cancel list, the power change means 512 sets all power levels included in the power storing unit 121 of the attached file 120 to the minimum level (S103).

[0044]FIG. 4 is a view for explaining change of the access power information of the file. The step S103 corresponds to the “3, change of power” in FIG. 4.

[0045] After this, the power change means 512 determines whether the currently received E-mail should be added to the mail reception list, or displays the reception message and waits for an open instruction to execute the attached file 120 sent from the user (S104).

[0046] The execution supervising means 513 receives the open instruction for executing the attached file 120 from the user, and requests execution of the attached file 120 to the program starting means 521 of the OS 520. Further, the execution supervising means 513 requests sending of a notice of result of processes which occur hereafter, from the execution program 530 to the existing file 540 (S105).

[0047] The program starting means 521 searches for the execution program 530 related to the attached file 120, and starts that execution program 530. At the same time, the program starting means 521 reads the access power level stored in the power storing unit 121 of the attached file 120, and sets the same power level to the power storing unit 531 of the execution program 530. When starting the execution program, the program starting means 521 prepares a process ID for identifying sequential processes of the execution program hereafter, and informs the name of execution program and the process ID to the execution supervising means 513 of the reception mail program 510.

[0048] As explained above, the execution supervising means 513 receives the name of execution program and the process ID, and records the contents of the start into the log file (S106). The contents of the start of the log file correspond to “start” in FIG. 5 which shows a log file.

[0049] When the execution program 530 starts the execution means 532, the execution means 532 reads the attached file 120 and executes a predetermined process. At that time, the execution means 532 tries to access the existing file 540 and to read from or write to the exiting file 540. At that time, the execution means 532 requests the process to the OS 520. The power determining means 522 of the OS 520 compares the execution power level of the power storing unit 531 of the execution program 530 with the reference information of power level or the update information of power level, and informs yes/no for the execution to the execution means 532. The execution means 532 executes the process to the existing file 540 based on this information. If the execution means 532 cannot execute the process, the execution program 530 is abnormally finished.

[0050] In the case of “4, request of reference” in FIG. 4, the execution power level of the attached file is “1”. On the other hand, since the reference information of power level in the existing file is also “1”, both power levels correspond to each other, the power determining means 522 informs an executable notice to the execution means 532. The execution means 532 which received the executable notice executes the process.

[0051] Further, in the case of “5, request of update” in FIG. 4, the execution power level of the attached file is “1”. On the other hand, the updated level of the exiting file is “2” so that the attached file does not reach an executable power level. Accordingly, the power determining means 522 informs an unexecutable notice to the execution means 532. When the execution means 532 does not execute the process, the process is abnormally finished.

[0052] The result informing means 533 always informs current situation of process sent from the execution means 532 to the program starting means 521 of the OS 520. The program starting means 521 returns situation of process for the existing file with the process ID to the execution supervising means 513 of the reception mail program 510.

[0053] The information of the situation of process for the existing file includes the name of file of the existing file 540, the contents of request of process, the result of process, and the passive power level of the existing file 540 corresponding to the process.

[0054] The execution supervising means 513 of the reception mail program 510 receives situation of process of the execution program 530 from the OS 520 (S107), identifies the contents (S108), and executes processes in accordance with the result of the contents determined. The identification of situation of process includes a normal completion of the execution program 530, a normal process for the existing file 540, and an abnormal completion of the execution program 530 due to the power being not qualified to process the existing file.

[0055] In the normal completion of the program, the process flow is completed without any execution. In this case, the attached file 120 is held into an area at the time of reception thereof, i.e., a reception directory set to “default”.

[0056] When the access for the existing file 540 is normally completed, the execution supervising means 513 records it in the log file, and displays the contents shown in FIG. 11 (S109). Further, the process returns to step 107, and the execution supervising means 513 waits for reception of next situation of process. The contents of log file at that time corresponds to “reference” or “update” in FIG. 5.

[0057] In the abnormal completion of the program due to the power being not qualified to process the existing file, the following processes are executed. First, the execution supervising means 513 records the abnormal completion in the log file (S110), and informs the abnormal completion due to the power being not qualified by indicating the contents of FIG. 8 to the user. At the same time, the execution supervising means 513 changes the power level of the attached file 120 to the executable level, and executes the process again. In another case, when the execution supervising means 513 does not execute the process, the execution supervising means 513 urges selection of either cancel of the file or pending of the file (S111).

[0058] When re-execution due to change of access power is selected, the file correcting means 514 changes the execution level of the attached file 120 to the passive access power level of the objected existing file 540, and records the change of access power in the log (S112). Further, the process returns to the step S105, and requests again execution of the attached file to the OS 520. The processes from “6, change of power” until “8, completion” in FIG. 4 represent situation of power in the above steps. Further, the record corresponding to “change of access power” in FIG. 5 corresponds to the change of power in the log file.

[0059] In step S111, the user selects cancellation or pending of the attached file 120, the file correcting means 514 displays the contents of FIG. 9, and urges the user so as to indicate either cancellation or pending (S113) of the attached file.

[0060] When receiving instruction of cancellation, the file correcting means 514 cancels the attached file 120 from the reception side terminal 500. At that time, the file correcting means 514 registers the sending side mail address into the cancel list, records the contents of cancellation into the log file, and displays the contents of FIG. 13 (S115). As mentioned above, sequential processes are completed. The log of cancellation corresponds to the record indicated by “cancel” in FIG. 5.

[0061] When registering the sending side mail address into the cancel list, if the sending side address is new, the item of cancel times in FIG. 6 is set to “1”. After the registration, as shown in steps S101 to S102, the E-mail and attached file sent from the same sending side mail address are automatically canceled hereafter.

[0062] On the other hand, when receiving the instruction of pending in step S113, the file correction means 514 moves the attached file from the reception directory of the default initially held to the pending directory provided for holding only pending attached file, records in the log file and displays the contents of FIG. 12 (S114). As a result, sequential processes are completed. The pending log corresponds to the record described as “pending” of FIG. 5.

[0063] The processes shown in FIG. 3 are explained above. However, the reception mail program 510 itself does not complete at the time completion of processes mentioned above. In this case, the reception mail program 510 waits for reception of a new mail, and repeats the above processes when receiving the new mail. Further, after completion of the above processes, the process returns to the step S104, the reception mail program 510 displays the mail reception list and waits for selection and execution of another attached file by the user.

[0064]FIG. 4 is a view for explaining change of the power information of the attached file 120 and the existing file 540. In the example of FIG. 4, the reception mail program 510 executes the attached file which was not automatically cancelled. This assumes that the reception mail program 510 once refers to the existing file 540, but fails to update the same file hereafter, further, the execution program is abnormally completed so that the user selects re-execution due to change of power.

[0065]FIG. 5 is a view of a log file. The log file includes various dates at the time when the execution supervising means 513 receives situation of process in which the execution program 530 has executed in the existing file 540; various names of the attached file 120 which becomes a starting point of the execution of the program; various sending side mail addresses; various process IDs; various names of programs of the execution program 530; various names of the existing file 540 in which the execution program tries to process; and the result of processes and contents of process in which the reception mail program 510 executed.

[0066] In the log of automatic cancel and change of power in FIG. 5, the execution program 530 does not start. Accordingly, the process ID, the name of execution and the name of the existing file are shown by blanks. In the log of the start, only the execution program 530 starts, and the process is not executed to any existing file 540. Accordingly, the name of the existing file is shown by the blank. The passive access power level of the objected existing file when occurring abnormal state, is recorded in the item of the contents of records of abnormal of reference and abnormal of update. For example, sequential records in which the item of the reception file is “receive 1.bas” represent the log records corresponding to the processes of FIG. 4.

[0067]FIG. 6 is a view of a file explaining a cancel list. In FIG. 6, although cancel times of frm03@foo.ne.ip of the sending side is “2”, this means that, in the log file of FIG. 5, first, it was canceled by the selection instruction of the user at 20:16 on Feb. 27, 2001, and second, it was automatically canceled at 10:00 on Feb. 28, 2001.

[0068]FIG. 7 is a view of a file explaining a relationship between an expanding identifier and an execution (starting) program. The user can optionally set and change the relationship. In FIG. 7, “.bas” is a basic language interpreter, “.txt” is a text editing software, “.doc” is a word processor software, and “.dat” is a spread-sheet software.

[0069] FIGS. 8 to 13 show the contents of various displays, and correspond to the contents of the log file of FIG. 5. In another embodiment of the present invention, in step S108 of FIG. 3, when the execution supervising means 513 of the reception mail program 510 detects abnormal completion of program due to the power being not qualified, the execution supervising means 513 does not execute re-execution process due to change of power, and cancels automatically the attached file 120. In still another embodiment, in step S108, the execution supervising means 513 detects abnormal completion of program, the execution supervising means makes selection of cancellation or pending by the user.

[0070] Further, in the present embodiment, the power determining means 522 determines the access power for the file in accordance with the grade of the power (three grades 1 to 3) for each items of execution information/reference information/update information, as shown in FIG. 2. However, this setting method is merely one example and the method is not limited to this. As still another embodiment, for example, there is a method of setting the grade by two values, i.e., the process being executable, or the process being unexecutable. Further, as still another embodiment, there is a method of setting “yes” or “no” for execution for each item by adding identifying information relevant to file-handling operators, for example, particular operator, particular group, and others.

[0071] Further, in the present embodiment, as shown in FIG. 4, when receiving the attached file 120, the power changing means 512 sets the access power information to the lowest level for all items of execution information/reference information/update information. However, this setting method is merely one example and the method is not limited to this. As still another embodiment, since the access is not executed for the existing file 540 of the reception side terminal, only the execution power level of the attached file 120 is set to the lowest level, and other passive power levels are not changed.

[0072] Still further, in the present embodiment, as shown in FIG. 4, when the attached file 120 is transmitted through the communication network 300, the access power information, which was set in the sending side terminal 100, is also transmitted to the reception side terminal 500. However, this method is merely one example. As another embodiment, when transmitting the attached file 120, it may be possible to only transmit data 122 of the attached file 120. In this case, when the reception mail program 510 receives the attached file 120, the access power changing unit 512 newly determines the power level to each item of the access power information as the access power information does not exist in the power storing unit 121. 

1. An electronic mail (E-mail) program for making a computer execute the following means including: a reception storing means for receiving an E-mail with a file from a communication network, and storing the file as a part of the E-mail; a power changing means for setting an access power information for accessing another file in the received file; and an execution supervising means for supervising an error caused by the access power information, the error being occurred in an execution program when the execution program reads the received file and executes a predetermined process, and for informing the error to a user.
 2. An electronic mail program as claimed in claim 1, further comprising a file correction means for canceling the received file in which the error occurs.
 3. An electronic mail program as claimed in claim 1, further comprising a file correction means for changing again the access power information of the received file in which the error occurs.
 4. An electronic mail program as claimed in claim 1, further comprising a file correction means for moving the received file in which the error occurs, to a holding area where it is not usually used.
 5. A computer readable storage medium recording an E-mail program for making a computer execute the following means including: a reception storing means for receiving an E-mail with a file from a communication network, and storing the file as a part of the E-mail; a power changing means for setting an access power information for accessing another file in the received file; and an execution supervising means for supervising an error caused by the access power information, the error having occurred in an execution program when the execution program reads the received file and executes a predetermined process, and for informing the error to a user.
 6. A computer readable storage medium as claimed in claim 5, further recording an E-mail program for making a computer execute a file correction means for canceling the received file in which the error occurs.
 7. A computer readable storage medium as claimed in claim 5, further recording an E-mail program for making a computer execute a file correction means for changing again the access power information of the received file in which the error occurs.
 8. A computer readable storage medium as claimed in claim 5, further recording an E-mail program for making a computer execute a file correction means for moving the received file in which the error occurs, to a holding area where it is not usually used. 